package com.erebus.submit.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erebus.submit.model.po.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    @Select("select * from teacher where teacher_id = #{teacherId}")
    Teacher byIdName(String teacherId);
}
